import { MockMethod } from 'vite-plugin-mock'

export default [
  {
    url: `/mock/boundary/result`,
    method: 'post',
    response: () => {
      return {
        code: 200,
        data: {
            discoverDist_lower:1,
            discoverDist_upper:10,
            followDist_lower:1,
            followDist_upper:10,
            distFollowAcc_lower:1,
            distFollowAcc_upper:10,
            vecFollowAcc_lower:1,
            vecFollowAcc_upper:10,
            angleFollowAcc_lower:1,
            angleFollowAcc_upper:10,
            hitRate_lower:1,
            hitRate_upper:10,
            antiPressRate_lower:1,
            antiPressRate_upper:10,
            antiCheatRate_lower:1,
            antiCheatRate_upper:10
        },
        msg: ''
      };
    }
  },
  {
    url: `/mock/boundary/category`,
    method: 'post',
    response: () => {
      return {
        code: 200,
        data: {
            rows:[
            {
                id: '1',
               keyparams: '作战天气',
            },
            {
                id: '2',
               keyparams: '作战环境',
            }]
        },
        msg: ''
      };
    }
  },
  {
    url: `/mock/boundary/echarts`,
    method: 'post',
    response: () => {
      return {
        code: 200,
        data: {
            category:["A","B","C","D"],
            values:[10,20,30,40]
        },
        msg: ''
      };
    }
  },
]